
<div class="col-md-12">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">用户详情</h3>
            <div class="actions pull-right">
                <i class="fa fa-chevron-down"></i>
            </div>
        </div>
        <div class="panel-body">
            <table class="table table-striped">
                <tbody>
                <tr>
                    <td>用户编号:$user.id</td>
                    <td>用户手机号:$user.phone</td>
                    <td>创建时间:$!date.format('yyyy-MM-dd HH:mm:ss',$user.create_time)</td>
                </tr>
                <tr>
                    <td>上次登陆时间:$!date.format('yyyy-MM-dd HH:mm:ss',$user.last_login_time)</td>
                    <td>上次购买时间:$!date.format('yyyy-MM-dd HH:mm:ss',$user.last_buy_time)</td>
                    <td>累计消费金额:$user.total_order_price</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="col-md-12">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">Contextual classes</h3>
            <div class="actions pull-right">
                <i class="fa fa-chevron-down"></i>
            </div>
        </div>
        <div class="panel-body">

            <table class="table">
                <thead>
                <tr>
                    <th>订单号</th>
                    <th>金额</th>
                    <th>商品数量</th>
                    <th>订单状态</th>
                    <th>创建时间</th>
                    <th>发货时间</th>
                    <th>物流单号</th>

                </tr>
                </thead>
                <tbody>
                #foreach($order in $orders)
                <tr>
                    #set($price =$order.total_cash -$order.discount)
                    <td>$order.orderNbr</td>
                    <td>$price</td>
                    <td>$!order.offerCnt</td>
                    <td>$order.statusDesc</td>
                    <td>$!date.format('yyyy-MM-dd HH:mm:ss',$order.create_time)</td>
                    <td>$!date.format('yyyy-MM-dd HH:mm:ss',$!order.send_time)</td>
                    <td>$!order.logistics</td>
                </tr>
                #end
                </tbody>
            </table>
        </div>
    </div>
</div>